package com.xca.znb.model.impl;

import android.content.Context;

import com.xca.znb.database.UserDAO;
import com.xca.znb.entity.Procurement;
import com.xca.znb.model.imodel.IProcurementManager;

import java.util.List;

public class ProcurementManagerImpl implements IProcurementManager {
    private UserDAO userDAO ;
    public ProcurementManagerImpl(Context context){userDAO = new UserDAO(context);}

    @Override
    public List<Procurement> getProcurementByPhone(String phone) {
        return userDAO.getProcurementByPhone(phone);
    }
}
